<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>bmqt_sessioneventtype Component</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="bdedox.css" rel="stylesheet" type="text/css"/>
    <style>
      div.hanging {
        padding-left: 0.75in;
        text-indent: -0.50in;
      }
      div.unhanging {
        text-indent:     0in;
      }
      a.glossary {
        font-weight: bold;
        font-style: italic;
      }
    </style>
</head>
<!--
<body onload='searchBox.OnSelectItem(0);'>
-->
<body>

<table border=2 cellspacing=0 cellpadding=0 align=center>
<tr>
 <td valign=top align=center>
 <p align=center><b><i>Quick Links:</i></b></p>
 </td>
 <td valign=top align=center>
 <p align=center>
<a class="qindex" href="group__bmqa.html" target="_blank">bmqa</a> | <a class="qindex" href="group__bmqpi.html" target="_blank">bmqpi</a> | <a class="qindex" href="group__bmqt.html" target="_blank">bmqt</a>
 </td>
 </tr>
 </table>

  </div>
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="components.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="components.html"><span>Components</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a>  </div>
  <div class="headertitle">
<h1>Component bmqt_sessioneventtype<br/>
<small>
[<a class="el" href="group__bmqt.html">Package bmqt</a>]</small>
</h1>  </div>
</div>
<div class="contents">

<p>Provide an enumeration for the different types of session events.  
<a href="#_details">More...</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacebmqt.html">bmqt</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<dl class="user"><dt><b>Outline</b></dt><dd><ul>
<li>
<a href="#1">Purpose</a> </li>
<li>
<a href="#2">Classes</a> </li>
<li>
<a href="#3">Description</a> </li>
</ul>
</dd></dl>
<dl class="user"><dt><b></b></dt><dd></dd></dl>
<dl class="user"><dt><b></b></dt><dd><a class="anchor" id="purpose"></a> <a class="anchor" id="1"></a> </dd></dl>
<dl class="user"><dt><b>Purpose: </b></dt><dd>Provide an enumeration for the different types of session events. </dd></dl>
<dl class="user"><dt><b></b></dt><dd></dd></dl>
<dl class="user"><dt><b></b></dt><dd><a class="anchor" id="classes"></a> <a class="anchor" id="2"></a> </dd></dl>
<dl class="user"><dt><b>Classes: </b></dt><dd><table class="doxtable">
<tr>
<td><a class="el" href="structbmqt_1_1SessionEventType.html">bmqt::SessionEventType</a> </td><td>Enumeration for the types of session events.  </td></tr>
</table>
</dd></dl>
<dl class="user"><dt><b></b></dt><dd></dd></dl>
<dl class="user"><dt><b></b></dt><dd><a class="anchor" id="description"></a> <a class="anchor" id="3"></a> </dd></dl>
<dl class="user"><dt><b>Description: </b></dt><dd><code><a class="el" href="structbmqt_1_1SessionEventType.html">bmqt::SessionEventType</a></code> is an enumeration for the different types of session events. </dd></dl>
<dl class="user"><dt><b></b></dt><dd><ul>
<li>
<b>CONNECTED</b>: The connection with the broker is established, this event is only fired once (if for any reason the connection gets lost and automatically reconnected, this will emit a <code>CONNECTION_RESTORED</code> event).  </li>
</ul>
</dd></dl>
<dl class="user"><dt><b></b></dt><dd><ul>
<li>
<b>DISCONNECTED</b>: The connection with the broker is terminated (after the user called stop on the session). This is the last event that will be delivered.  </li>
</ul>
</dd></dl>
<dl class="user"><dt><b></b></dt><dd><ul>
<li>
<b>CONNECTION_LOST</b>: The session was connected to the broker, but that connection dropped.  </li>
</ul>
</dd></dl>
<dl class="user"><dt><b></b></dt><dd><ul>
<li>
<b>RECONNECTED</b>: The connection to the broker has been re-established. This event is followed by zero or more <code>QUEUE_REOPEN_RESULT</code> events, and one <code>STATE_RESTORED</code> event.  </li>
</ul>
</dd></dl>
<dl class="user"><dt><b></b></dt><dd><ul>
<li>
<b>STATE_RESTORED</b>: Session's state has been restored after connection has been re-established with the broker. This event is preceded by one <code>RECONNECTED</code> event, and zero or more <code>QUEUE_REOPEN_RESULT</code> events.  </li>
</ul>
</dd></dl>
<dl class="user"><dt><b></b></dt><dd><ul>
<li>
<b>CONNECTION_TIMEOUT</b>: The connection to the broker has timedout.  </li>
</ul>
</dd></dl>
<dl class="user"><dt><b></b></dt><dd><ul>
<li>
<b>QUEUE_OPEN_RESULT</b>: Indicates the result of an <code>openQueue</code> operation.  </li>
</ul>
</dd></dl>
<dl class="user"><dt><b></b></dt><dd><ul>
<li>
<b>QUEUE_REOPEN_RESULT</b>: Indicates the result of an <code>openQueue</code> operation, which happens when the connection to the broker has been restored and queues previously opened have been automatically reopened. This event is preceded by a <code>RECONNECTED</code> event and followed by zero or more <code>QUEUE_REOPEN_RESULT</code> events, and one <code>STATE_RESTORED</code> event.  </li>
</ul>
</dd></dl>
<dl class="user"><dt><b></b></dt><dd><ul>
<li>
<b>QUEUE_CLOSE_RESULT</b>: Indicates the result of a <code>closeQueue</code> operation  </li>
</ul>
</dd></dl>
<dl class="user"><dt><b></b></dt><dd><ul>
<li>
<b>SLOWCONSUMER_NORMAL</b>: Notifies that the EventQueue is back to its low watermark level.  </li>
</ul>
</dd></dl>
<dl class="user"><dt><b></b></dt><dd><ul>
<li>
<b>SLOWCONSUMER_HIGHWATERMARK</b>: Notifies that events are accumulating in the EventQueue, which has now reached it's high watermark level.  </li>
</ul>
</dd></dl>
<dl class="user"><dt><b></b></dt><dd><ul>
<li>
<b>QUEUE_CONFIGURE_RESULT</b>: Indicates the result of a <code>configureQueue</code> operation.  </li>
</ul>
</dd></dl>
<dl class="user"><dt><b></b></dt><dd><ul>
<li>
<b>HOST_UNHEALTHY</b>: Indicates the host has become unhealthy. Only issued if  </li>
</ul>
a <code><a class="el" href="classbmqpi_1_1HostHealthMonitor.html">bmqpi::HostHealthMonitor</a></code> has been installed to the session, via the <code><a class="el" href="classbmqt_1_1SessionOptions.html">bmqt::SessionOptions</a></code> object. </dd></dl>
<dl class="user"><dt><b></b></dt><dd><ul>
<li>
<b>HOST_HEALTH_RESTORED</b>: Indicates the health of the host has restored,  </li>
</ul>
and all queues have resumed operation. Following a Host Health incident, this indicates that the application has resumed normal operation. </dd></dl>
<dl class="user"><dt><b></b></dt><dd><ul>
<li>
<b>QUEUE_SUSPENDED</b>: Indicates that an open queue has suspended operation: <br/>
  </li>
</ul>
* Consumers are configured to receive no more messages from broker (i.e., maxUnconfirmedMessages := 0, maxUnconfirmedBytes := 0, consumerPriority := INT_MIN). * Attempts to pack messages targeting queue will be rejected by <code>bmqa::MessageEventBuilder::pack()</code>. Clients may still attempt to POST existing packed events. * Attempts by client to reconfigure queue will not take effect until the queue has resumed. </dd></dl>
<dl class="user"><dt><b></b></dt><dd><ul>
<li>
<b>QUEUE_RESUMED</b>: Indicates that a suspended queue has resumed normal  </li>
</ul>
operation (i.e., effects of QUEUE_SUSPENDED state no longer apply). </dd></dl>
<dl class="user"><dt><b></b></dt><dd><ul>
<li>
<b>ERROR</b>: Indicates a generic error.  </li>
</ul>
</dd></dl>
<dl class="user"><dt><b></b></dt><dd><ul>
<li>
<b>TIMEOUT</b> Indicates that the specified operation has timed out.  </li>
</ul>
</dd></dl>
<dl class="user"><dt><b></b></dt><dd><ul>
<li>
<b>CANCELED</b>: Indicates that the specified operation was canceled.  </li>
</ul>
</dd></dl>
<dl class="user"><dt><b></b></dt><dd></dd></dl>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Thu Jun 15 2023 11:58:51 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>
